import request from '@/utils/request'

export default{
  // 测试数据库查询
  testDb() {
    return request({
      url: `/python/testDb`,
      method: 'get'
    })
  },
  // 测试 xgboost
  testXGB(date,data){
    return request({
      url: `/python/testXGB`,
      method: 'post',
      data: {
        date,
        data
      }
    })
  },
}
